﻿namespace SourceCodeRepository.Model
{
    using Common.Interfaces.Model;

    /// <summary>
    /// A Contributor entity.
    /// </summary>
    public class Contributor : IDomainObject
    {
        /// <summary>
        /// Gets or sets the id of the domain object.
        /// </summary>
        /// <value>The id of the domain object.</value>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name{ get; set; }

        /// <summary>
        /// Gets or sets the name of the user.
        /// </summary>
        /// <value>The name of the user.</value>
        public string UserName { get; set; }

        /// <summary>
        /// Gets or sets the email address.
        /// </summary>
        /// <value>The email address.</value>
        public string EmailAddress { get; set; }

        /// <summary>
        /// Gets or sets the password of the user.
        /// </summary>
        public string Password { get; set; }
    }
}